postcircumfix « »
1 | language documentation Operators |
1.1 | (Operators) postcircumfix « » |
Documentation for postcircumfix « »
assembled from the following types:
language documentation Operators
From Operators
(Operators) postcircumfix « »
Shortcut for postcircumfix { }
that quotes its argument using the same rules as the interpolating quote-words operator of the same name.
my = kiwi => "green", banana => "yellow", cherry => "red";my = "kiwi";say «cherry "$fruit"».perl; # OUTPUT: «("red", "green")»
Technically, not a real operator; it's syntactic sugar that's turned into the { }
postcircumfix operator at compile-time.